package com.upay.android.client.handler;

import com.upay.android.client.activity.AbstractUPayActivity;
import com.upay.domain.response.EmptyResponse;
import com.upay.domain.response.ResponseEnvelope;

public class EmptyResponseCallbackHandler extends AbstractCallbackHandler<EmptyResponse> {
	
	/* ---- Constants ---- */
	
	/* ---- Instance Variables ---- */
	
	/* ---- Constructors ---- */

	public EmptyResponseCallbackHandler(AbstractUPayActivity context) {
		this.context = context;
	}
	
	/* ---- Business Methods ---- */
	

	@Override
	public void handleResponse(ResponseEnvelope<EmptyResponse> response) {

	}

	@Override
	public void handleValidationException(ResponseEnvelope<EmptyResponse> response) {
		context.showValidationErrors("Incorrect account details, please try again");

	}

}
